package entity;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

public class WareHouseExample implements Serializable {
    @Id
    @Column(name = "route_id")
    private String routeId;//路由id

    @Id
    @Column(name = "warehouse_id")
    private String warehouseId;//仓库id

    @Column(name = "warehouse_name")
    private String warehouseName;//仓库名字

    @Id
    @Column(name = "warehouse_id")
    private String towarehouseId;//仓库id

    @Column(name = "warehouse_name")
    private String towarehouseName;//仓库名字

    @Column(name = "arrival_time")
    private Date arrivalTime;//到达仓库时间

    @Column(name = "departure_time")
    private Date departureTime;//离开仓库时间

    @Column(name = "store_time")
    private Date storeTime;//入库时间

    @Column(name = "deliver_time")
    private Date deliverTime;//离开仓库时间

    public WareHouseExample(String routeId, String warehouseId, String warehouseName, String towarehouseId, String towarehouseName, Date arrivalTime, Date departureTime) {
        this.routeId = routeId;
        this.warehouseId = warehouseId;
        this.warehouseName = warehouseName;
        this.towarehouseId = towarehouseId;
        this.towarehouseName = towarehouseName;
        this.arrivalTime = arrivalTime;
        this.departureTime = departureTime;
    }

    public WareHouseExample(String warehouseName, Date storeTime, Date deliverTime) {
        this.warehouseName = warehouseName;
        this.storeTime = storeTime;
        this.deliverTime = deliverTime;
    }


    public Date getArrivalTime() {
        return arrivalTime;
    }

    public Date getStoreTime() {
        return storeTime;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getTowarehouseId() {
        return towarehouseId;
    }

    public void setTowarehouseId(String towarehouseId) {
        this.towarehouseId = towarehouseId;
    }

    public String getTowarehouseName() {
        return towarehouseName;
    }

    public void setTowarehouseName(String towarehouseName) {
        this.towarehouseName = towarehouseName;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public Date getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Date departureTime) {
        this.departureTime = departureTime;
    }

    public void setStoreTime(Date storeTime) {
        this.storeTime = storeTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }


}
